package com.njtech.pet.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lxj
 * Date:2020-03-09 10:54
 * Description: 自然人类
 */
public class Person implements Serializable{
    public Integer id;
    public String name;
    public String idType;
    public String identity;
    public String phone;
    public String email;
    public User user;
    public String state;
    public Date updateDate;
    public String relation;
    public String remark;

    public Person() {
    }

    public Person(Integer id, String name, String idType, String identity, String phone, String email, User user, String state, Date updateDate, String relation, String remark) {
        this.id = id;
        this.name = name;
        this.idType = idType;
        this.identity = identity;
        this.phone = phone;
        this.email = email;
        this.user = user;
        this.state = state;
        this.updateDate = updateDate;
        this.relation = relation;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idType='" + idType + '\'' +
                ", identity='" + identity + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", user=" + user +
                ", state='" + state + '\'' +
                ", updateDate=" + updateDate +
                ", relation='" + relation + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
